package com.yunatt.mapper;


import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.yunatt.model.RecordsEntity;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

import java.util.List;

@Mapper
public interface RecordsMapper extends BaseMapper<RecordsEntity> {
    @Select("select * from records order by id desc ")
    List<RecordsEntity> selectAllRecords();
}